<LayoutTableSmall>
    <!-- 顶部 -->
    <template slot="top"></template>
    <!-- 其他 -->
    <template slot="other"></template>
    <!-- 搜索 -->
    <template slot="search">

    </template>
    <!-- 功能 -->
    <template slot="function">
    </template>
    <!-- 表格 -->
    <template slot="table">

        <el-table v-loading="mixinTable_loading" :data="mixinTable_tableData" border style="width: 100%;"
            :ref="mixinPage_vueName+'TableSmall'" height="100%"
            @selection-change="mixinTable_handleSelectionChangeTableSmall" :tree-props="{children: 'children'}"
            row-key="id">
            <el-table-column type="selection" width="50" align="center"></el-table-column>
            <el-table-column type="index" width="50" :index="mixinTable_indexMethod" align="center" label="#">
            </el-table-column>

            <el-table-column prop="templateName" label="名称">
            </el-table-column>
            <el-table-column prop="createdTimeStr" label="提审时间" width="100" align="center">
                <template slot-scope="scope">
                    {{$vFN.Utils.timestampFormat(scope.row.submitAuditTime)}}
                </template>
            </el-table-column>
            <el-table-column prop="createdTimeStr" label="审核状态" width="100" align="center">
                <template slot-scope="scope">
                    <div v-if="scope.row.auditStatus==1">待审核</div>
                    <div v-if="scope.row.auditStatus==2">审核中</div>
                    <div v-if="scope.row.auditStatus==3">审核通过</div>
                    <div v-if="scope.row.auditStatus==4">审核失败</div>
                </template>
            </el-table-column>
            <el-table-column prop="createdTimeStr" label="上架状态" width="100" align="center">
                <template slot-scope="scope">
                    <div v-if="scope.row.isPublish==0">未上架</div>
                    <div v-if="scope.row.isPublish==1">已上架</div>
                </template>
            </el-table-column>
            <el-table-column label="操作" width="260" align="center">
                <template slot-scope="scope">

                    <el-button v-if="scope.row.auditStatus==2" @click="auditSuccess(scope.row.id)">通过</el-button>
                    <el-button v-if="scope.row.auditStatus==2" @click="auditFail(scope.row.id)">拒绝</el-button>
                </template>
            </el-table-column>


        </el-table>

    </template>
    <!-- 表格选项 -->
    <template slot="options">
    </template>
    <!-- 分页 -->
    <template slot="page">
        <el-pagination class="paginationStyle" v-if="mixinTable_pageData.total>0" background
            @current-change="mixinTable_pagingData($event)" :current-page="mixinTable_pageData.pageNum"
            :page-size.sync="$vFN.Constants.pageSize" layout="total, prev, pager, next,jumper"
            :total.sync="mixinTable_pageData.total">
        </el-pagination>
    </template>
</LayoutTableSmall>